{extend name="layout/index" /}
{block name="title"}
<title>直播流列表</title>
{/block}
{block name="adminUser"}
<a href="#" data-toggle="dropdown">
	<img src="/admin/images/user-4.png" alt="user-image" class="img-circle img-inline userpic-32" width="28" />
	<span>
		{$adminUser}
		<i class="fa-angle-down"></i>
	</span>
</a>
{/block}
{block name="content"}
		<div class="panel panel-default">
						<div class="panel-heading">
							<h3 class="panel-title">直播流列表</h3> &nbsp;
							<a href="{:url('admin/videoLiveAdd')}" class="btn btn-secondary btn-sm btn-icon icon-left">更新直播流</a>
							
							<div class="panel-options">
								<a href="#" data-toggle="panel">
									<span class="collapse-icon">&ndash;</span>
									<span class="expand-icon">+</span>
								</a>
								<a href="#" data-toggle="remove">
									×
								</a>
							</div>
						</div>
						<div class="panel-body">
							
						<!-- 	<form action="{:url('admin/doCateAdd')}" method="post" enctype="multipart/form-data" role="form" class="form-horizontal"> -->

<!-- 								<div class="form-group">
									<label class="col-sm-2 control-label" for="field-4">直播间名称:</label>
									
									<div class="col-sm-10">
										<input class="form-control" id="field-4" type="text" name="name">
									</div>
								</div> -->
								<div class="form-group">
									<label class="col-sm-2 control-label" for="field-4">推流地址:</label>
									
									<div class="col-sm-10">
										<input class="form-control" id="field-4" type="text" name="name" value="{$sql[0]['push_url']}">
									</div>
								</div>	
								<div class="form-group">
									<label class="col-sm-2 control-label" for="field-4">拉流地址:</label>
									
									<div class="col-sm-10">
										<input class="form-control" id="field-4" type="text" name="name" value="{$sql[0]['pull_url']}">
									</div>
								</div>									
								<div class="form-group">
									<label class="col-sm-2 control-label" for="field-4">HLS直播地址:</label>
									
									<div class="col-sm-10">
										<input class="form-control" id="field-4" type="text" name="name" value="{$sql[0]['hls_url']}">
									</div>
								</div>	
								<div class="form-group">
									<label class="col-sm-2 control-label" for="field-4">HDL 直播地址:</label>
									
									<div class="col-sm-10">
										<input class="form-control" id="field-4" type="text" name="name" value="{$sql[0]['hdl_url']}">
									</div>
								</div>	
								<div class="form-group">
									<label class="col-sm-2 control-label" for="field-4">直播封面地址:</label>
									
									<div class="col-sm-10">
										<input class="form-control" id="field-4" type="text" name="name" value="{$sql[0]['icon_url']}">
									</div>
								</div>	

								<td>
									<!-- <a href="{:url('admin/videoManage')}" class="btn btn-secondary btn-sm btn-icon icon-left" style="left:5%;position: relative;">管理直播流</a> -->
									
									<a href="{:url('admin/videoInto')}" class="btn btn-danger btn-sm btn-icon icon-left" style="left:15%;position: relative;">进入直播间</a>
								</td>
								<!-- <a href="{:url('admin/videoLiveList')}" class="btn btn-secondary btn-sm btn-icon icon-left">直播间列表</a> -->
<!-- 								<input type="submit" value="点击创建" class="btn btn-info btn-single pull-right"/>
							</form> -->
							
						</div>
					</div>
{/block}

